package com.kady.entity;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/3/24
 * \* Time: 20:54
 * \* 千峰JAVA2101班
 * \* Description: 菜系实体类
 * \
 */
public class FoodType {
    /**
     * 菜系ID
     */
    private Long typeId;

    /**
     * 菜系名称
     */
    private String typeName;

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public FoodType() {}

    public FoodType(Long typeId, String typeName) {
        this.typeId = typeId;
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return "FoodType{" +
                "typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                '}';
    }
}
